//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.cgform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

@TableName("onl_cgform_enhance_sql")
public class OnlCgformEnhanceSql implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String cgformHeadId;
    private String buttonCode;
    private String cgbSql;
    private String cgbSqlName;
    private String content;

    public OnlCgformEnhanceSql() {
    }

    public String getId() {
        return this.id;
    }

    public String getCgformHeadId() {
        return this.cgformHeadId;
    }

    public String getButtonCode() {
        return this.buttonCode;
    }

    public String getCgbSql() {
        return this.cgbSql;
    }

    public String getCgbSqlName() {
        return this.cgbSqlName;
    }

    public String getContent() {
        return this.content;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setCgformHeadId(final String cgformHeadId) {
        this.cgformHeadId = cgformHeadId;
    }

    public void setButtonCode(final String buttonCode) {
        this.buttonCode = buttonCode;
    }

    public void setCgbSql(final String cgbSql) {
        this.cgbSql = cgbSql;
    }

    public void setCgbSqlName(final String cgbSqlName) {
        this.cgbSqlName = cgbSqlName;
    }

    public void setContent(final String content) {
        this.content = content;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlCgformEnhanceSql)) {
            return false;
        } else {
            OnlCgformEnhanceSql other = (OnlCgformEnhanceSql)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$cgformHeadId = this.getCgformHeadId();
                Object other$cgformHeadId = other.getCgformHeadId();
                if (this$cgformHeadId == null) {
                    if (other$cgformHeadId != null) {
                        return false;
                    }
                } else if (!this$cgformHeadId.equals(other$cgformHeadId)) {
                    return false;
                }

                Object this$buttonCode = this.getButtonCode();
                Object other$buttonCode = other.getButtonCode();
                if (this$buttonCode == null) {
                    if (other$buttonCode != null) {
                        return false;
                    }
                } else if (!this$buttonCode.equals(other$buttonCode)) {
                    return false;
                }

                label62: {
                    Object this$cgbSql = this.getCgbSql();
                    Object other$cgbSql = other.getCgbSql();
                    if (this$cgbSql == null) {
                        if (other$cgbSql == null) {
                            break label62;
                        }
                    } else if (this$cgbSql.equals(other$cgbSql)) {
                        break label62;
                    }

                    return false;
                }

                label55: {
                    Object this$cgbSqlName = this.getCgbSqlName();
                    Object other$cgbSqlName = other.getCgbSqlName();
                    if (this$cgbSqlName == null) {
                        if (other$cgbSqlName == null) {
                            break label55;
                        }
                    } else if (this$cgbSqlName.equals(other$cgbSqlName)) {
                        break label55;
                    }

                    return false;
                }

                Object this$content = this.getContent();
                Object other$content = other.getContent();
                if (this$content == null) {
                    if (other$content != null) {
                        return false;
                    }
                } else if (!this$content.equals(other$content)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlCgformEnhanceSql;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $cgformHeadId = this.getCgformHeadId();
//        result = result * 59 + ($cgformHeadId == null ? 43 : $cgformHeadId.hashCode());
//        Object $buttonCode = this.getButtonCode();
//        result = result * 59 + ($buttonCode == null ? 43 : $buttonCode.hashCode());
//        Object $cgbSql = this.getCgbSql();
//        result = result * 59 + ($cgbSql == null ? 43 : $cgbSql.hashCode());
//        Object $cgbSqlName = this.getCgbSqlName();
//        result = result * 59 + ($cgbSqlName == null ? 43 : $cgbSqlName.hashCode());
//        Object $content = this.getContent();
//        result = result * 59 + ($content == null ? 43 : $content.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlCgformEnhanceSql(id=" + this.getId() + ", cgformHeadId=" + this.getCgformHeadId() + ", buttonCode=" + this.getButtonCode() + ", cgbSql=" + this.getCgbSql() + ", cgbSqlName=" + this.getCgbSqlName() + ", content=" + this.getContent() + ")";
//    }
}
